layui.use(["element","jquery","layer"],function(){
    var element = layui.element;
    var $ = layui.jquery;
    var layer = layui.layer;
    $("#userEditButton").on("click",function(){
        layer.open({
            type:2,
            title:"修改信息",
            content:"/user/userEdit",
            area:['700px','500px']
        });
    });
    $("#pwdChangeButton").on("click",function(){
        layer.open({
            type:2,
            title:"修改密码",
            content:"/user/pswEdit",
            area:['600px','300px']
        });
    })
    $("#userInfoButton").on("click",function(){
        layer.open({
            type:2,
            title:"个人信息",
            content:"/user/userInfo",
            area:['700px','600px']
        });
    })
})